package com.example.recommend;

import lombok.Data;

@Data
public class RelateDTO {
    /** 用户id */
    private Integer userId;
    /** 作品id */
    private Integer worksId;
    /** 指数 */
    private Integer index;

    public RelateDTO(Integer userId, Integer worksId, Integer index) {
        this.userId = userId;
        this.worksId = worksId;
        this.index = index;
    }
}